extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[普通]维修工具"
	att.maxHp = 200
	info = "每秒恢复自身[血上限2%]的生命值\n[color=#DC143C]同时装备三件时可升级[/color]"

func _upS():
	if masCha == null || not utils.inBattle(masCha):return
	if masCha.type == sys.CharaClass.BOSS:
		masCha.healCha(masCha, masCha.att.maxHp * 0.01)
	else:
		masCha.healCha(masCha, masCha.att.maxHp * 0.02)
	
func upgrade():
	name = "[color=#FFFF00][史诗]维修工具"
	att.maxHp = 600
	info = "每秒恢复自身[血上限2%]的生命值"